﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Inventor3.Master" AutoEventWireup="true" CodeBehind="servicereceived.aspx.cs" Inherits="HospitalSystem.servicereceived" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            height: 21px;
        }
    .style4
    {
        font-size: large;
    }
    .style5
    {
        font-size: large;
        color: #3366FF;
            width: 626px;
        }
        .style6
        {
            color: #000000;
            font-weight: normal;
        }
        .style7
        {
            height: 21px;
            color: #000000;
            font-size: medium;
            width: 626px;
        }
        .style8
        {
            font-size: medium;
            font-weight: bold;
            width: 626px;
        }
        .style10
        {
            color: #000000;
            font-size: medium;
            font-weight: bold;
            width: 626px;
        }
        .style11
        {
            color: #000000;
            font-size: medium;
            width: 626px;
        }
        .style12
        {
            font-size: small;
        }
        .style13
        {
            color: #000000;
            font-size: small;
            font-weight: normal;
        }
        .style14
        {
            height: 21px;
            width: 626px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div id="sidebar">
	<ul>
		<li>
			<h2>คัดกรอง</h2>
			<ul>	
				<li><a href="showcidinfo.aspx">ข้อมูลการคัดกรอง</a></li>
				<li><a href="diagnosemedical.aspx">ความบกพร่อง</a></li>
				<li><a href="Vision.aspx">การมองเห็น</a></li>
                <li><a href="hearing.aspx">การได้ยิน</a></li>
                <li><a href="Physical.aspx">การเคลื่อนไหว</a></li>
				<li><a href="preference.aspx">สิ่งที่ชอบ</a></li>
				<li><a href="servicereceived.aspx" class="current">บริการที่เคยได้รับ</a></li>
				<li><a href="BeforeRecordData.aspx">พัฒนาการ</a></li>
			</ul>
		</li>
	</ul>
</div>
    <div id="content">
                 <br />
        <table class="style2">
            <tr>
                <td class="style5">
                    6. เครื่องมือ สิ่งอำนวยความสะดวก สื่อและบริการที่ได้รับในปัจจุบัน
                </td>
                <td class="style4">
                    </td>
            </tr>
            
            <tr>
                <td class="style14">
                    </td>
                <td class="style1">
                    </td>
            </tr>

            <tr>
                <td class="style8">
                            <span class="style6"><strong><span class="style12">ประเภทความพิการ</span></strong><span 
                                class="style12">&nbsp; </span> </span>
                            <asp:DropDownList ID="DropDownList1" runat="server" CssClass="style12">
                            </asp:DropDownList>
                            <span class="style13">&nbsp;&nbsp;<strong>จำนวนประเภทวัสดุ</strong>&nbsp; </span>
                            <asp:TextBox ID="TextBox4" runat="server" Width="50" CssClass="style12"></asp:TextBox>
                            <span class="style13">&nbsp;&nbsp;&nbsp;
                            </span>
                            <asp:Button ID="Button2" runat="server" Text="OK" onclick="Button2_Click" 
                                CssClass="style12" />
                </td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            <tr>
                <td class="style10">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                    <asp:GridView ID="GridView1" runat="server" 
    AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="None" 
                                        style="text-align: center; font-size: small;">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns>
                                            <asp:BoundField DataField="RowNumber" HeaderText="ชิ้นที่" />
                                            <asp:TemplateField HeaderText="Materials">
                                                <ItemTemplate>
                                                    <asp:DropDownList ID="MAT" runat="server" Width="100" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="ระยะเวลาที่ได้รับเริ่มต้น">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="TIMS" runat="server" Width="100"/>
                                                    <asp:ImageButton ID="ButtonTIMS" runat="server" CssClass="bluebutton" 
                                ImageUrl="img/cal.png" Width="20px" onclick="ButtonTIMS_Click" />
                                                    <asp:Calendar ID="Calendar1" runat="server" Visible="False" 
                                OnSelectionChanged="Cal1_SelectionChanged"></asp:Calendar>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="ระยะเวลาที่ได้รับสิ้นสุด">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="TIME" runat="server" Width="100"/>
                                                    <asp:ImageButton ID="ButtonTIME" runat="server" CssClass="bluebutton" 
                                ImageUrl="img/cal.png" Width="20px" onclick="ButtonTIME_Click" />
                                                    <asp:Calendar ID="Calendar2" runat="server" Visible="False" 
                                OnSelectionChanged="Cal2_SelectionChanged"></asp:Calendar>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="หน่วยงานหรือบุคคลที่จัดหาให้">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="ORG" runat="server" TextMode="MultiLine" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="ผลการใช้งาน">
                                                <ItemTemplate>
                                                    <asp:RadioButtonList ID="RBL" runat="server" RepeatDirection="Vertical" 
                                Enabled="true">
                                                        <asp:ListItem Value="0" Text = "พอใจ"></asp:ListItem>
                                                        <asp:ListItem Value="1" Text = "ไม่พอใจ"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                </td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            <tr>
                <td class="style10">

                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            <tr>
                <td class="style10">
                    <asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" />
                </td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            <tr>
                <td class="style10">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            <tr>
                <td class="style10">
                    <asp:GridView ID="GridView2" runat="server" ForeColor="Black" 
                        style="text-align: center" Width="567px">
                    </asp:GridView>
                </td>
                <td class="style4">
                    &nbsp;</td>
            </tr>

            

    </table>
        </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
